Normalization by hereditary substitutions

نویسندگان

  • Chantal Keller
  • Thorsten Altenkirch
چکیده

We analyze a normalization function for the simply typed λ-calculus based on hereditary substitutions, a technique developed by Pfenning et al. The normalizer is implemented in Agda, a total language where all programs terminate. It requires no termination proof since it is structurally recursive which is recognized by Agda’s termination checker. Using Agda as an interactive theorem prover we establish that our normalization function precisely identifies βη-equivalent terms and hence can be used to decide βη-equality. An interesting feature of this approach is that it is clear from the construction that βη-equality is primitive recursive.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Equations for Hereditary Substitution in Leivant's Predicative System F: A Case Study

This paper presents a case study of formalizing a normalization proof for Leivant’s Predicative System F [6] using the EQUATIONS package. Leivant’s Predicative System F is a stratified version of System F, where type quantification is annotated with kinds representing universe levels. A weaker variant of this system was studied by Stump & Eades [5, 3], employing the hereditary substitution meth...

متن کامل

Decidability of equality for a simply typed calculus using hereditary substitutions in Agda

Most interactive theorem provers based on Type Theory automatically check termination of function definitions, and thus restrict to structurally terminating ones. It follows that implementing a full normalizer for the λ-calculus in an interactive theorem prover, and thus establishing formal properties on it, is a difficult issue. Relying on hereditary substitutions, that are structurally termin...

متن کامل

-calculi with Explicit Substitutions and Composition Which Preserve -strong Normalization (extended Abstract)

We study preservation of-strong normalization by d and dn, two connuent-calculi with explicit substitutions deened in 10]; the par-ticularity of these calculi is that both have a composition operator for substitutions. We develop an abstract simulation technique allowing to reduce preservation of-strong normalization of one calculus to that of another one, and apply said technique to reduce pre...

متن کامل

-calculi with Explicit Substitutions and Weak Composition Which Preserve -strong Normalization

This paper studies preservation of-strong normalization by two diierent connuent-calculi with explicit substitutions deened in Kes96]; the particularity of these calculi, called d and dn respectively, is that both have a (weak) composition operator for substitutions. We develop an abstract simulation technique allowing to reduce preservation of-strong normalization of one calculus to that of an...

متن کامل

Strong Normalization of λμμ̃-Calculus with Explicit Substitutions

The λμμ̃-calculus, defined by Curien and Herbelin [7], is a variant of the λμ-calculus that exhibits symmetries such as term/context and call-by-name/call-by-value. Since it is a symmetric, and hence a non-deterministic calculus, usual proof techniques of normalization needs some adjustments to be made to work in this setting. Here we prove the strong normalization (SN) of simply typed λμμ̃-calcu...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010